package org.example.doctorapi.data;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@TableName("sys_dept")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysDept extends BaseDto implements Serializable {
    @TableId
    private Integer deptId;
    private String deptName;
    private int regNumber;
    private String deptNumber;
    private int orderNum;
    private String deptLeader;
    private String leaderPhone;
    private String status;
    private String delFlag;
    private Date createTime;
    private Date updateTime;
    private String createBy;
    private String updateBy;

    public static final String DEPT_ID = "dept_id";
    public static final String DEPT_NAME = "dept_name";
    public static final String REG_NUMBER = "reg_number";
    public static final String DEPT_NUMBER = "dept_number";
    public static final String ORDER_NUM = "order_num";
    public static final String DEPT_LEADER = "dept_leader";
    public static final String LEADER_PHONE = "leader_phone";
    public static final String DEL_FLAG = "del_flag";
    public static final String STATUS = "status";
    public static final String CREATE_TIME = "create_time";
    public static final String UPDATE_TIME = "update_time";
    public static final String CREATE_BY = "create_by";
    public static final String UPDATE_BY = "update_by";

}
